/*-----------------------------------------------------------------------
|                            FILE DESCRIPTION                           |
-----------------------------------------------------------------------*/
/*----------------------------------------------------------------------
  - File name     : DigitalTubeIO.h
  - Author        : liuzhihua
  - Update date   : 2022.7.19                  
  -	File Function : 8-Segment Digital Tube Input and Output API
-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------
|                               UPDATE NOTE                             |
-----------------------------------------------------------------------*/
/**
  * Update note:
  * ------------   ---------------   ----------------------------------
  *     Date            Author                       Note
  * ------------   ---------------   ----------------------------------
  *   2022.7.19        liuzhihua                   Create file
***/

#ifndef __DIGITALTUBEIO_H_
#define __DIGITALTUBEIO_H_

#ifdef  __cplusplus
    extern "C" {
#endif
/*-----------------------------------------------------------------------
|                               INCLUDES                                |
-----------------------------------------------------------------------*/
#include "DigitalTube.h"

/*-----------------------------------------------------------------------
|                                DEFINES                                |
-----------------------------------------------------------------------*/

/*-----------------------------------------------------------------------
|                             API FUNCTION                              |
-----------------------------------------------------------------------*/
void DT_SegmentSet(uint8_t segPos);
void DT_BitSet(uint8_t data);
void DigitalTube_Init(void);
extern DigitalTube_t DT;

#ifdef __cplusplus
}
#endif

#endif

